<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>津贴统计</title>
<link href="../../css/main_div.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../../js/util.js"></script>
<style>
.noneinput{
     text-align:center;
}
</style>
</head>
<body>
  <table cellspacing="0" cellpadding="0" width="98%" align="center" border="0">
    <tbody>
      <tr>
        <td class="spaceLineColor">津贴统计</td>
      </tr>
    </tbody>
  </table>
<table height="30" cellspacing="0" cellpadding="0" width="98%" align="center"  border="0">
    <tbody>
      <tr>
        <td class="borderHelp" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="list_table_padding">
          <tbody>
            <tr>
              <td  width="8%" height="30"><input type="radio" name="totalType" value="0" onclick="checkRadio();" checked> 按时间统计</td>
              <td width="8%">
				  <input type="radio" name="totalType" value="1" onclick="checkRadio();"> 按项目统计
              </td>
			  <td   align="right" width="10%" height="30"> <span id="yearLabel"> 年度：</span>
			  <span id="snameLabel" style="display:none;"> 项目名称：</span></td>
              <td width="20%">
			    <span id="yearContent"> 
			     <select>
			      <option>2010</option>
				  <option>2009</option>
			     </select>
				 </span> 
				  <span id="snameContent" style="display:none;"> <input type="text" value="钼管类异型件生产技术研究"></span>
              </td>
			  

				 <td   align="left" width="10%" height="30">  <input class="button_6noWid" id="Submit_Add22" type="button" value="统计" name="Submit_Add22" onClick="addAllowance();"/></td>
			
            </tr>
			


          </tbody>
        </table></td>
      </tr>
    </tbody>
  </table>
   
<div class="span_gather" id="gather_title" align="center">2010年科研项目津贴统计表</div>
    <table  cellspacing="0" cellpadding="0" width="94%" align="center" border="0">
	   <tr>
	      <td align="right"><img src="../../images/word.gif"/> <a href="#" onclick="report();">导出</a></td>
	   </tr>
	</table>

	<div class="tbCotetDv" id="yearTotal">
		<table id="allowanceTable" class="gather_table" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
				<tbody>
				       <tr class="cmsrow01">
						<td align="center" colspan="2" width="30%">单位</td>
						<td  align="center" width="10%">2010年津贴（元）</td>
						<td  align="center" width="30%" >备注</td>
                      </tr>
                      <tr class="cmsrow01" align="middle" >
					   <td  align="center"   width="10%">矿冶分公司</td>
                        <td  align="center"  width="20%">露天矿</td>
						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >部分发放</td>
                      </tr>
                      <tr class="cmsrow01" align="middle" >
					   <td  align="center"  width="10%">矿冶分公司</td>
                        <td  align="center"  width="20%">百花岭选矿厂</td>
						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >备注</td>
                      </tr>
                      <tr class="cmsrow01" align="middle" >
					   <td  align="center"  width="10%">矿冶分公司</td>
                        <td  align="center"  width="20%">卅亩地选矿厂</td>
						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >备注</td>
                      </tr>
                      <tr class="cmsrow01" align="middle" >
					   <td  align="center"  width="10%">矿冶分公司</td>
                        <td  align="center"  width="20%">钼炉料产品部</td>
						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >备注</td>
                      </tr>

					   <tr class="cmsrow01" align="middle" >
					 	<td align="center" colspan="2" width="30%">化学分公司</td>
						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >备注</td>
                      </tr>
					  <tr class="cmsrow01" align="middle" >
					 	<td align="center" colspan="2" width="30%">金属分公司</td>
						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >备注</td>
                      </tr>
					   <tr class="cmsrow01" align="middle" >
					 	<td align="center" colspan="2" width="30%">监测中心</td>
						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >备注</td>
                      </tr>
					   <tr class="cmsrow01" align="middle" >
					 	<td align="center" colspan="2" width="30%">技术中心</td>

						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >备注</td>
                      </tr>

					  <tr class="cmsrow01" align="middle" >
					 	<td align="center" colspan="2" width="30%">销售分公司</td>
						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >备注</td>
                      </tr>
					  <tr class="cmsrow01" align="middle" >
					 	<td align="center" colspan="2" width="30%">总经理工作部</td>
						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >备注</td>
                      </tr>
					  <tr class="cmsrow01" align="middle" >
					 	<td align="center" colspan="2" width="30%">科技信息部</td>
						<td  align="center" width="10%">100000</td>
						<td  align="center" width="50%" >备注</td>
                      </tr>
					   <tr class="cmsrow01" align="middle" >
					 	<td align="center" colspan="2" width="30%">合计</td>
						<td  align="center" width="10%">900000</td>
						<td  align="center" width="50%" >&nbsp;</td>
                      </tr>
			  </tbody>
	   </table>
		<br>
 
	</div>
    



	<!-- start -->
     <div class="tbCotetDv" id="projectTotal"  style="display:none;">
		<table id="allowanceTable" class="gather_table" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
				<tbody>
                      <tr class="cmsrow01" align="middle" >
					   <td  align="center"   width="5%">序号</td>
                        <td  align="center"  width="10%">年度</td>
						<td  align="center" width="10%">季度</td>
						<td  align="center" width="10%" >人数</td>
						<td  align="center" width="10%">津贴总额（元）</td>
	                    <td  align="center" width="10%">备注</td>
                      </tr>
					  <tr class="cmsrow01" align="middle" >
					   <td  align="center"   width="5%">1</td>
                        <td  align="center"  width="10%">2009</td>
						<td  align="center" width="10%">三季度</td>
						<td  align="center" width="10%" >5</td>
						<td  align="center" width="10%">10000</td>
	                    <td  align="center" width="10%">&nbsp;</td>
                      </tr>
					  <tr class="cmsrow01" align="middle" >
					   <td  align="center"   width="5%">2</td>
                        <td  align="center"  width="10%">2009</td>
						<td  align="center" width="10%">四季度</td>
						<td  align="center" width="10%" >5</td>
						<td  align="center" width="10%">12000</td>
	                    <td  align="center" width="10%">&nbsp;</td>
                      </tr>
					  <tr class="cmsrow01" align="middle" >
					   <td  align="center"   width="5%">3</td>
                        <td  align="center"  width="10%">2010</td>
						<td  align="center" width="10%">一季度</td>
						<td  align="center" width="10%" >6</td>
						<td  align="center" width="10%">10000</td>
	                    <td  align="center" width="10%">&nbsp;</td>
                      </tr>
					  <tr class="cmsrow01" align="middle" >
					   <td  align="center"   width="5%" colspan="4">合计</td>
						<td  align="center" width="10%">22000</td>
	                    <td  align="center" width="10%">&nbsp;</td>
                      </tr>
			  </tbody>
	   </table>
		<br>
 
	</div>
	<!-- end -->
  <br> <br> <br> <br>
 <div class="bu01 d02">

		  <input class="button_6noWid" id="Submit_Add22" type="button" value="返回" name="Submit_Add22" onClick="javascript:history.go(-1);"/>
 </div>
</div>

</body>
</html>



<script>


//查看明细
function view(url){
	window.location = url;
}

function pageLoad(){
    mergeCells("allowanceTable",1);
}
window.onload = pageLoad();

function checkRadio(){
	var yearLabel = $("yearLabel");
	var yearContent = $("yearContent");
	var snameLabel = $("snameLabel");
	var snameContent = $("snameContent");
	var value = checkedValue("totalType");
	var gatherTitle = $("gather_title");
	var yearTotal = $("yearTotal");
	var projectTotal = $("projectTotal");
    if(value == 0){
	    gatherTitle.innerHTML = "2010年科研项目津贴统计表";
		yearLabel.style.display = "block";
		yearContent.style.display = "block";
		snameLabel.style.display = "none";
		snameContent.style.display = "none";
		yearTotal.style.display = "block";
		projectTotal.style.display = "none";
	}else{
	    gatherTitle.innerHTML = "钼管类异型件生产技术研究项目津贴发放统计表";
		yearLabel.style.display = "none";
		yearContent.style.display = "none";
		snameLabel.style.display = "block";
		snameContent.style.display = "block";

	    yearTotal.style.display = "none";
		projectTotal.style.display = "block";
	}
    
	
	
}
</script>